const Router = require('koa-router')

const {verifyAuth, verifyPermission} = require('../middleware/auth_middleware')
const {create, list} = require('../controller/label_controller.js')

const labelRouter = new Router({prefix:'/label'})

labelRouter.post('/', verifyAuth, create)
labelRouter.get('/', list)

module.exports = labelRouter